﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GrainManage.Data.Service
{
    public class PatternService : BaseService
    {
        public PatternService(GrainManage.Data.Access.AccessBase proc) : base(proc) { }

        public string GetContent(string key)
        {
            var content = Proc.ExecuteScalar(ProcConst.Pattern_GetContentByKey, key) as string;
            return content ?? string.Empty;
        }
    }
}
